package pl.edu.agh.agents.gui;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class GraphFileFilter extends FileFilter {
	@Override
	public boolean accept(File f) {
		return f.isDirectory() || f.getName().endsWith(".graph");
	}

	@Override
	public String getDescription() {
		return "Graph description files";
	}
}